<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加员工</title>
</head>
<body>
    <div>
        <form th:action="@{/emp}" method="post">
            <table border="1" width="300">
                <tr>
                    <td>编号:</td>
                    <td>
                        <input type="text" name="id">
                    </td>
                </tr>
                <tr>
                    <td>姓名:</td>
                    <td>
                        <input type="text" name="name">
                    </td>
                </tr>
                <tr>
                    <td>邮箱:</td>
                    <td>
                        <input name="email" type="text">
                    </td>
                </tr>
                <tr>
                    <td>操作:</td>
                    <td>
                        <input type="submit" value="添加">
                        <a th:href="@{/emp}">返回</a>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>